package sample.Admin;

import javafx.application.Application;
import  javafx.stage.Stage;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;

public class AdminAddCourse extends Application {
        public void start(Stage primaryStage) throws Exception{
            try{
                FXMLLoader loader = new FXMLLoader(getClass().getResource("../../fxml/admin/管理员课程管理_添加课程.fxml"));
                AnchorPane anchorpane = loader.load();
                Stage stage = new Stage();
                Scene sc = new Scene(anchorpane,600,400);
                stage.setScene(sc);
                stage.setResizable(false);
                stage.setTitle("添加课程");
                stage.show();
            }catch (Exception e ) {
                e.printStackTrace();
            }
        }
        public  static void main(String[] args) { launch(args);}
}
